<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" type="image/ico"	href="${pageContext.request.contextPath}/img/network.gif" />
<link rel="stylesheet"	href="${pageContext.request.contextPath}/styles/styles.css" type="text/css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
<title>Settings</title>
</head>
<body>
<body>
	<div id="wrapper">
		<div id="header">
			<%@ include file="/WEB-INF/jspf/header.jspf"%>
		</div><!-- #header-->
		<div id="content" class="settings" align="center">
			<div >
				<form id="form_settings" action="controller" method="post">
					<input type="hidden" name="command" value="applySettings">
					<h2><ct:i18n propertyKey="page.settings.Settings"/></h2>
					*<ct:i18n propertyKey="page.settings.for_apply_settings_please_relogin"/>.
					
					<br><ct:i18n propertyKey="page.settings.Name"/>:<br>
					<input type="text" name="name" value="${clientbean.name}" required> 
					
					<br><ct:i18n propertyKey="page.settings.Surname"/>:<br>
					<input type="text" name="surName" value="${clientbean.surName}" required> 
					
					<br><ct:i18n propertyKey="page.settings.Phone"/>:<br>
					<input type="text" name="mobileNumber" value="${clientbean.mobileNumber}" required>

					<br><ct:i18n propertyKey="page.settings.Language"/>:<br>
					<select name="locale" size="1">
						<c:forEach var="locale" items="${locales}">
							<option value="${locale.name}">${locale.name}</option>
						</c:forEach>
					</select><br> 
					
					<br><ct:i18n propertyKey="page.settings.Enter_password"/>:<br>
					<input type="password" name="password" required><br>
					<input type="submit" class="submit" value="<ct:i18n propertyKey="page.settings.Save"/>">
				</form>
			</div>
		</div><!-- #content-->
	</div><!-- #wrapper -->
	<div id="footer">
		<%@ include file="/WEB-INF/jspf/footer.jspf"%>
	</div><!-- #footer -->
</body>
</html>